﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;

public partial class search_infor : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
       if(func.isinfor(Session["usr"].ToString()))
        {
            
            DataSet  sdr = func.ds(Session["usr"].ToString());         
            lblxm.Text =sdr.Tables[0].Rows[0][1].ToString();
            lblxb.Text=sdr.Tables[0].Rows[0][2].ToString();
            lbljg.Text=sdr.Tables[0].Rows[0][3].ToString();
            lblid.Text = sdr.Tables[0].Rows[0][4].ToString();
            lblmoney.Text = sdr.Tables[0].Rows[0][5].ToString();
        }
       else
        {
            Response.Write("<script>alert('您还没有填写信息，请完善信息后再试');location.href='add_user_infor.aspx';</script>");

        }
       


    }
}